<template>
	<view class="box">
		<view class="top">
			
		</view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	import {myAccount} from "../../api/wallet.js"
		export default {
			data() {
				return {		
						url:""
				}
			},
			onLoad() {
				this.getmyAccount()
			},
			methods: {
				getmyAccount() {
					myAccount().then(res => {
						this.issd = res.data.sd_is_switch
						if(this.issd==1){
							this.url=res.data.sd.url
						}
						console.log(this.isopen, "000")
						console.log(res, "账户")
					})
				},
			},


		}
</script>
<style>
	page {
		background: #211E38;
	}
</style>
<style scoped lang="scss">
.top{
	width: 750rpx;
	height: 200rpx;
}
</style>